package com.heima.bank_work;

public class Test {
    public static void main(String[] args) {
        BankAccount b1 = new BankAccount("10010", "张三", 1234);
        BankAccount b2 = new BankAccount("10011", "李四", 1233);
        b1.deposit(-100);
        b1.deposit(200);
        b1.withdraw(2222);
        b1.withdraw(300);
        System.out.println(BankAccount.getTotalAccounts());
    }
}
